package com.saturn.titan.core.datatable;

import java.util.List;

/**
 * datatable 请求bean
 * @author lwh
 *
 * @param <T> 请求bean中过滤条件对应的实体bean
 */
public class DatatableRequestBean<T> {
	
	private List<DatatableColumn> columns;
	
	private List<DatatableOrder> order;
	
	private Integer start;
	
	private Integer length;
	private Integer draw;
	
	private String search_value;
	private Boolean search_regex;
	
	private T searchBean;
	
	private String random;

	public List<DatatableColumn> getColumns() {
		return columns;
	}

	public void setColumns(List<DatatableColumn> columns) {
		this.columns = columns;
	}

	public List<DatatableOrder> getOrder() {
		return order;
	}

	public T getSearchBean() {
		return searchBean;
	}

	public void setSearchBean(T searchBean) {
		this.searchBean = searchBean;
	}

	public void setOrder(List<DatatableOrder> order) {
		this.order = order;
	}

	public Integer getStart() {
		return start;
	}

	public void setStart(Integer start) {
		this.start = start;
	}

	public Integer getLength() {
		return length;
	}

	public void setLength(Integer length) {
		this.length = length;
	}

	public Integer getDraw() {
		return draw;
	}

	public void setDraw(Integer draw) {
		this.draw = draw;
	}

	public String getSearch_value() {
		return search_value;
	}

	public void setSearch_value(String search_value) {
		this.search_value = search_value;
	}

	public Boolean getSearch_regex() {
		return search_regex;
	}

	public void setSearch_regex(Boolean search_regex) {
		this.search_regex = search_regex;
	}

	public String getRandom() {
		return random;
	}

	public void setRandom(String random) {
		this.random = random;
	}

}

